readme
by Glenn Sheriff
24 April 2023

This file documents how to use Stata and LaTex to replicate the tables produced in 

Sheriff, G. (2023) "California’s GHG cap and trade program and the equity of air toxic releases" Journal of the Association of Environmental and Resource Economists.

1. Unzip the Sheriff_2023_JAERE_replication.zip file into a new directory (name it as you like).
The directory should contain two files and five sub-directories:
	readme		-- the one you are reading now
	tri_proj.do	-- Stata file used to build the project
	/created		-- folder with data for tables/figs
	/programs	-- folder with Stata do files to generate tables/figs	
	/latex		-- folder with latex code to compile tables/figs
	/temp		-- empty
	/goal		-- pdf files containing what final outputs (Stata log and Latex tables/figs) should look like

2. Install the "project" Stata program. To do so type "ssc install project" in the Stata command window.
3. Type "project, setup" in the Stata command window. Navigate to the "tri_proj.do" program in the
    directory created in step 1, and click "OK".
4. Type "project tri_proj, build" in the Stata command window. This command will cause Stata to process the data in the /created folder and place output files (including a log file) in the /latex folder. 
5. Run the LaTex file "Tables_Figures.tex" located in the "latex" subdirectory of the directory created in step 1.
6. Open the newly created  "Tables_Figures.pdf" in the "latex" subdirectory.
	